Page({
  data: {
    imgUrls: [
      'http://img02.tooopen.com/images/20150928/tooopen_sy_143912755726.jpg',
      'http://img06.tooopen.com/images/20160818/tooopen_sy_175866434296.jpg',
      'http://img06.tooopen.com/images/20160818/tooopen_sy_175833047715.jpg',
      'http://img06.tooopen.com/images/20160818/tooopen_sy_175833047715.jpg'
    ],
    indicatorDots: true,
    autoplay: true,
    interval: 5000,
    duration: 1000,
    circular:true,
    iconsArr:[
      { "img":"../../images/nav_icon_01.png","name":"推荐"},
      { "img": "../../images/nav_icon_02.png", "name": "美甲" },
      { "img": "../../images/nav_icon_03.png", "name": "美容" },
      { "img": "../../images/nav_icon_04.png", "name": "美发" },
      { "img": "../../images/nav_icon_05.png", "name": "美睫" }
    ],
    goods_info:[
      {
         "thumb":"../../images/recommend_img_01.png",
         "title":"秋季自然特价美甲",
         "price":198,
         "desc":"我们追求的是没有最长只有更长"
      },
      {
        "thumb": "../../images/recommend_img_02.png",
        "title": "秋季自然特价美甲",
        "price": 1888,
        "desc": "我们追求的是没有最长只有更长"
      },
      {
        "thumb": "../../images/recommend_img_03.png",
        "title": "秋季自然特价美甲",
        "price": 1888,
        "desc": "我们追求的是没有最长只有更长"
      },
      {
        "thumb": "../../images/recommend_img_04.png",
        "title": "秋季自然特价美甲",
        "price": 1888,
        "desc": "我们追求的是没有最长只有更长"
      },
      {
        "thumb": "../../images/recommend_img_05.png",
        "title": "秋季自然特价美甲",
        "price": 1888,
        "desc": "我们追求的是没有最长只有更长"
      },
      {
        "thumb": "../../images/recommend_img_06.png",
        "title": "秋季自然特价美甲",
        "price": 1888,
        "desc": "我们追求的是没有最长只有更长"
      } 

      
    ]

  },
  toSubscribe:function(){
    wx.navigateTo({
      url: '../ye/ye',
      success: function(res) {},
      fail: function(res) {},
      complete: function(res) {},
    })
  },
  toDetail:function(){
    wx.navigateTo({
      url: '../detail/detail',
      success: function (res) { },
      fail: function (res) { },
      complete: function (res) { },
    })
  }

 
 
})